Developer Documentation

QuickTime 4 API Documentation

QuickTime for Java

| Previous | Chapter Top | Next |

Working With the QTDrawable Interface

As we've seen, the QTDrawable interface is used to handle the negotiation between the QTCanvas and one of several QuickTime objects. The QuickTime objects that implement the QTDrawable interface are extensive and include the following:

The QTDrawable interface is designed to work hand-in-hand with a QTCanvas object. The class that implements this interface draws into the supplied QDGraphics object . The QTCanvas will call the methods of its client (setting its destination QDGraphics , setting display bounds, and redrawing it) as required.

Figure 3 The QTDrawable implementation


© 1999 Apple Computer, Inc.

| Previous | Chapter Top | Next |